package com.qf.enums;

import lombok.Getter;

/**
 * 作者: 王鑫
 * 项目名: jxc1
 * 时间:2019/12/4  21:35
 * 描述:
 */
@Getter
public enum JxcEnum {
    PARAMETER_ERROR(1,"参数不合法"),
    USERNAME_ERROR(2,"用户名错误"),
    PASSWORD_ERROR(3,"密码错误"),
    NOT_KNOW_ERROR(4,"其他错误"),
    USE_NOT_LOGIN(5,"用户未登录"),
    CODE_ERROR(6,"错误信息");
    private Integer code;
    private String msg;

    JxcEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
